package com.atguigu.flightservice.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class FlightQuery {

    @ApiModelProperty(value = "航班名称,模糊查询")
    private String flightNumber;

    @ApiModelProperty(value = "航空公司")
    private String airline;

    @ApiModelProperty(value = "起始地")
    private String takeoffCity;

    @ApiModelProperty(value = "目的地")
    private String arrivalCity;

    @ApiModelProperty(value = "查询起飞时间", example = "2019-01-01 00:00:00")
    private String takeoffTime;//注意，这里使用的是String类型，前端传过来的数据无需进行类型转换

    @ApiModelProperty(value = "查询返回时间", example = "2019-01-01 00:00:00")
    private String returnTime;//注意，这里使用的是String类型，前端传过来的数据无需进行类型转换

}
